using AutoMapper;

namespace Joy.Erp.BasicArchives.Staff
{
    public class DepartmentAutoMapperProfile : Profile
    {
        public DepartmentAutoMapperProfile()
        {
            CreateMap<Department, DepartmentDto>().MapExtraProperties().ReverseMap();
            CreateMap<Department, DepartmentCreateDto>().MapExtraProperties().ReverseMap();
            CreateMap<Department, DepartmentUpdateDto>().MapExtraProperties().ReverseMap();
        }
    }
} 